package fire.pritise.oo.day02;

public class Teacher extends Person{
	double salary;
	
	Teacher(double salary){
		super("agsdasd", 39, "sadds");
		this.salary = salary;
	}
	void teach() {
		
	}
	
}

class test{
	public static void main(String[] args) {
		Teacher tc1 = new Teacher(33);
		System.out.println(tc1.addr);
	}
	
}
